package fr.unice.progmobile.scratchpad.data;

import java.io.Serializable;
import java.util.Date;

import android.graphics.Bitmap;

public class Scratchpad implements Serializable {

	/**
	 * Default serial id
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String title;
	private String description;
	private Date lastModified;
	private Bitmap image;
	
	public Scratchpad() {}
	
	public Scratchpad(int id, String title, String description, Date lastModified, Bitmap img) {
		this.id = id;
		this.title = title;
		this.description = description;
		this.lastModified = lastModified;
		this.image = img;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public Bitmap getImage() {
		return image;
	}
	
	public void setImage(Bitmap bm) {
		this.image = bm;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
}
